package com.bjpowernode.commons.service;

import com.bjpowernode.commons.model.User;

import java.util.Date;

public interface UserService {
    boolean checkPhone(String phone);

    void register(String phone, String password);

    User login(String phone, String password);

    User login(String phone);

    void auth(Long id, String name, String idcard);

    void updateLoginTime(Long id, Date date);

    void updateHeaderImage(Long id, String headerImage);
}
